Skip to contentSkip to conversation

Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore

DISCUSSION Boris Derzhavets 2 participants 2 messages May 15, 2009

lore
Share & tools
lore
#0 lore raw

Per /usr/lib/python2.6/site.py:-

For Debian and derivatives, this sys.path is augmented with directories for packages distributed within the distribution. Local addons go into /usr/local/lib/python<version>/dist-packages, Debian addons install into /usr/{lib,share}/python<version>/dist-packages. /usr/lib/python<version>/site-packages is not used.

It is different from /usr/lib/python2.5/site.py

With Config.mk:-

PYTHON =  python
PYTHON_PREFIX_ARG =

Packages gets installed into /usr/local/lib/python2.6/dist-packages:-

root@ServerJaunty:/usr/local/lib/python2.6/dist-packages# ls -ld xen
drwxr-sr-x 9 root staff 4096 2009-05-15 10:35 xen

Xend starts fine, pygrub doesn't fail. Xen host seems to be OK.
But, "xm create -c DomU.cfg" doesn't work any more,even with xenified kernel. DomU gets paused at startup and no matter of been upaused or no, finally crashes with message:-

"Hotplug scripts not working"

I believe Xen 3.4 has problem been installed on Ubuntu 9.04 Server (64-bit) with python 2.6 installed with default settings.
Same situation will happen on any Debian derivative with Python 2.6

If i am wrong about that, please advise.

Boris.

--- On Tue, 5/12/09, Ian Jackson <[email protected]> wrote:

From: Ian Jackson <[email protected]>
Subject: Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Tuesday, May 12, 2009, 1:16 PM

Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):

Quoted 4 lines

Yes, now

# make install-xen
# make install-tools
commit builds

Good.

Quoted 3 lines

Pygrub doesn't work ( i believe default path is incorrect ) and hotplug scripts don't work as well . The last problem makes Xen Host dead.

But xm create now appears to work ?  It's possible that the fix didn't take properly for pygrub.  Or perhaps that you are running a version leftover from a previous attempt ?

Quoted 3 lines

I've tested Suse's 2.6.27.5 kernel under Xen 3.4 .
It shows same behavior as 2.6.30-rc3-tip. Problem seems to be on Xen side. Otherwise,  backend drivers in both xen-ified and pvops kernel refuse to repond

What errors are in the hotplug logfile ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Boris Derzhavets writes ("Re: [Xen-devel] Changeset 19594 for Xen 3.4 build on Ubuntu Server 9.04 causes pygrub doesn't return any data anymore"):

Quoted 4 lines

Xend starts fine, pygrub doesn't fail. Xen host seems to be OK.
But, "xm create -c DomU.cfg" doesn't work any more,even with xenified kernel. DomU gets paused at startup and no matter of been upaused or no, finally crashes with message:-

"Hotplug scripts not working"

This could be due to any number of things. You really need to look in the hotplug scripts' logfiles.

I'm glad to see that the python path thing seems solved.

Ian.